package com.hk.domain.jo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.annotation.JSONType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;

@Getter
@Setter
@Validated
@ApiModel(description = "【param】附件视频实体类")
@JSONType(typeName = ExternalMessageAttachmentVideoJO.TYPE_NAME)
public class ExternalMessageAttachmentVideoJO extends ExternalMessageAttachmentBaseJO {

    protected static final String TYPE_NAME = "video";
    @JSONField(ordinal = 1)
    private String msgType = TYPE_NAME;

    /** 附件视频 */
    @ApiModelProperty(value = "附件视频")
    @JSONField(ordinal = 3)
    private ExternalMessageVideoJO video;

    /*public ExternalMessageAttachmentVideoJO() {
        super.setMsgType(ExternalMessageMsgTypeEnum.VIDEO.getCode());
    }*/

}
